package com.evil.common.rocketmq.constant;

import com.evil.common.redis.constant.RedisConstant;

/**
 * @author liyang
 * @date 2025-03-10 16:08
 */
public interface MSGRedisConstant extends RedisConstant {

    /**
     * 过期时间 5分钟
     */
    long MQ_MSG_EXPIRE_IN_SECOND = 5 * 60;

    /**
     * mq消息层级key前缀
     */
    String MQ_MSG_LEVEL_KEY_PREFIX = "MQ_MSG_LEVEL";

    /**
     * mq消息缓存key前缀
     */
    String MQ_MSG_CACHE_KEY_PREFIX = "MQ_MSG_CACHE";
}
